package com.chaosj.memory.dto;

import com.chaosj.webmagic.DefaultLocalFileService;
import lombok.Data;

import java.util.Arrays;
import java.util.List;

/**
 * @className: GitBookDto
 * @description:
 * @author: caoyangjie
 * @date: 2022/3/22
 **/
@Data
public class GitBookDto extends HandlerDto{
    private List<String> scrapes;

    public GitBookDto(String[] args) {
        super(args);
        if( args.length == 2 ){
            this.scrapes = Arrays.asList(args[1]);
        }
    }
}
